<?xml version='1.0' encoding='UTF-8' ?>
<ui:composition 
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.prime.com.tr/ui">
                    <h2>Devenir client</h2>
                    <h:panelGrid id="grid-inscription" columns="3">  
                        <h:outputText value="Login" />  
                        <p:inputText id="login-inscription" required="true" value="#{inscriptionMBean.login}" />  
                        <p:message for="login-inscription" display="text"/>  

                        <h:outputText value="Mot de passe" />  
                        <p:password id="password-inscription" required="true"  value="#{inscriptionMBean.password}"/>  
                        <p:message for="password-inscription" display="text" /> 

                    </h:panelGrid>  

                    <p:commandButton value="J'ouvre un compte!" type="submit" action="#{inscriptionMBean.inscription}"/>  
</ui:composition>
